package com.yanqu.road.logic.bussiness.config;

import com.yanqu.road.entity.config.charitable.CharitableWordConfig;
import com.yanqu.road.entity.config.charitable.CharitableWorkConsumeConfig;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

/**
 * @Author wpj
 * @Date 2020/8/29
 */
public class CharitableBusiness {
    public static Map<Integer, CharitableWordConfig> getCharitableWordConfig() throws Exception {
        return DaoHelper.getCharitableConfigDaoImpl().getCharitableWordConfig();
    }

    public static Map<Integer, CharitableWorkConsumeConfig> getCharitableWorkConsumeConfig() throws Exception {
        return DaoHelper.getCharitableConfigDaoImpl().getCharitableWorkConsumeConfig();
    }
}
